package cn.bestick.cblog.dao;

import java.util.List;
import cn.bestick.cblog.dmo.Msg;
import cn.bestick.cblog.dto.MsgDto;

public interface MsgDao {
	public List<MsgDto> getComments(int articleId) throws Exception;

	public List<MsgDto> getLeaveMsgs() throws Exception;

	public void save(Msg msg) throws Exception;

	public void delete(int id) throws Exception;

	public List<MsgDto> getRecentMsgs() throws Exception;

	public List<MsgDto> all() throws Exception;
}
